package com.bbcare.followup.plat.entity;


import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 复旦儿科泵乳记录对象 dump_breast_record
 *
 * @author gxl
 * @date 2020-11-03
 */


public class DumpBreastRecord implements Serializable {
    private static final long serialVersionUID = 1L;


    private String id;

    //(value = "患者id")
    private String patientId;


    @JSONField(format = "yyyy-MM-dd")
    //(value = "泵乳日期")
    private Date dumpTime;

    private String lastDumpTime;

    @JSONField(format = "yyyy-MM-dd HH:mm")
    //(value = "左乳房开始时间")
    private Date leftBreastStartTime;


    @JSONField(format = "yyyy-MM-dd HH:mm")
    //(value = "左乳房结束时间")
    private Date leftBreastEndTime;


    //(value = "左乳房泵奶量")
    private BigDecimal leftBreastQuantity;


    @JSONField(format = "yyyy-MM-dd HH:mm")
    //(value = "右乳房开始时间")
    private Date rightBreastStartTime;


    @JSONField(format = "yyyy-MM-dd HH:mm")
    //(value = "右乳房结束时间")
    private Date rightBreastEndTime;


    //(value = "右乳房泵奶量")
    private BigDecimal rightBreastQuantity;

    /**
     * 是否用药（1:是，2:否）
     */
    private Integer isUseDrug;


    /**
     * 用药备注
     */
    private String useDrugRemark;



    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date createTime;
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date updateTime;

    private String bedNo;
    private String hospitalNo;

    public String getBedNo()    {return this.bedNo;}
    public void setBedNo(final String no)   {this.bedNo=no;}
    public String getHospitalNo()   {return this.hospitalNo;}
    public void setHospitalNo(final String no)  {this.hospitalNo=no;}

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public Date getDumpTime() {
        return dumpTime;
    }

    public void setDumpTime(Date dumpTime) {
        this.dumpTime = dumpTime;
    }

    public Date getLeftBreastStartTime() {
        return leftBreastStartTime;
    }

    public void setLeftBreastStartTime(Date leftBreastStartTime) {
        this.leftBreastStartTime = leftBreastStartTime;
    }

    public Date getLeftBreastEndTime() {
        return leftBreastEndTime;
    }

    public void setLeftBreastEndTime(Date leftBreastEndTime) {
        this.leftBreastEndTime = leftBreastEndTime;
    }

    public BigDecimal getLeftBreastQuantity() {
        return leftBreastQuantity;
    }

    public void setLeftBreastQuantity(BigDecimal leftBreastQuantity) {
        this.leftBreastQuantity = leftBreastQuantity;
    }

    public Date getRightBreastStartTime() {
        return rightBreastStartTime;
    }

    public void setRightBreastStartTime(Date rightBreastStartTime) {
        this.rightBreastStartTime = rightBreastStartTime;
    }

    public Date getRightBreastEndTime() {
        return rightBreastEndTime;
    }

    public void setRightBreastEndTime(Date rightBreastEndTime) {
        this.rightBreastEndTime = rightBreastEndTime;
    }

    public BigDecimal getRightBreastQuantity() {
        return rightBreastQuantity;
    }

    public void setRightBreastQuantity(BigDecimal rightBreastQuantity) {
        this.rightBreastQuantity = rightBreastQuantity;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getIsUseDrug() {
        return isUseDrug;
    }

    public void setIsUseDrug(Integer isUseDrug) {
        this.isUseDrug = isUseDrug;
    }

    public String getUseDrugRemark() {
        return useDrugRemark;
    }

    public void setUseDrugRemark(String useDrugRemark) {
        this.useDrugRemark = useDrugRemark;
    }

    public void setLastDumpTime(final String lastTime)    {this.lastDumpTime=lastTime;}
    public String getLastDumpTime()   {return this.lastDumpTime;}
}
